<?php

const OpenSelf = 0;
const OpenBlank = 1;

class Application_Model_Link
{
    protected $id;
    protected $name;
    protected $url;
    protected $image;
    protected $openType;
    protected $memo;
    
    public function __construct(int $id,$name,$url,$image,$opentype,$memo) {
        $this->id = $id;
        $this->name = $name;
        $this->url = $url;
        $this->image = $image;
        $this->openType = $opentype;
        $this->memo = $memo;
    }
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getName() {
        return $this->name;
    }

    public function setName($name) {
        $this->name = $name;
    }

    public function getUrl() {
        return $this->url;
    }

    public function setUrl($url) {
        $this->url = $url;
    }

    public function getImage() {
        return $this->image;
    }

    public function setImage($image) {
        $this->image = $image;
    }

    public function getOpenType() {
        return $this->openType;
    }

    public function setOpenType($openType) {
        $this->openType = $openType;
    }

    public function getMemo() {
        return $this->memo;
    }

    public function setMemo($memo) {
        $this->memo = $memo;
    }
}

